package com.zld.smarket.dao;

import com.zld.smarket.dto.StockList;
import com.zld.smarket.dto.StockinList;
import com.zld.smarket.pojo.Stockin;
import java.util.List;

public interface StockinMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Stockin record);

    Stockin selectByPrimaryKey(Long id);

    List<Stockin> selectAll();

    int updateByPrimaryKey(Stockin record);

    List<StockinList> selectAllAndPage(Integer page, Integer limit);

    List<StockinList> search(String s, Integer page, Integer limit);

    Long countbyno(Long stockinNo);

    Long countstockin();

    Long weekstockin();
}